package com.wn.class30.service;

import com.wn.class30.entity.Allorder;
import com.wn.class30.entity.Myorder;
import com.wn.class30.entity.User;
import com.wn.class30.entity.UserAddress;

import java.util.List;
import java.util.Map;

public interface OrderService {
    List<Myorder> selectOrders(Map<String, String> map)throws Exception;

    Long getOrderCount(Map<String, String> map)throws Exception;

    public List<Myorder> queryOrderByUserId(Integer userid)throws Exception;

    void deleteOrderByOid(Integer oid)throws Exception;

    Myorder selectMyOrderById(Integer myOrderId)throws Exception;

    void updateMyOrderById(Myorder myorder)throws Exception;

    public Myorder queryOrderByOrderId(Integer orderid) throws  Exception;

    List<Myorder> selectMyOrderByAllOrderId(Integer allOrderId)throws Exception;
}
